package org.road0329.tools.proto_parse_tool.ems.dataobject.gw.afn04;

import org.road0329.tools.proto_parse_tool.chargingpile.MsgCommData;

/**
 * AFN:04 <br>
 * F10:终端电能表/交流采样装置配置参数
 * 
 * @author zoe
 */
public class RtuParamF10 extends MsgCommData {

    private int    devId;            // 装置序号
    private int    pn;               // 测量点号
    private int    rate;             // 通信速率
    private int    port;             // 通信端口号
    private int    protocol;         // 通信协议类型
    private String commAddr;         // 通信地址
    private String commPwd;          // 通信密码
    private short  tarrifNum;        // 电能费率个数
    private short  integerNum;       // 有功电能示值整数位个数
    private short  decimalNum;       // 有功电能示值小数位个数
    private String repeaterCommAddr; // 采集器通信地址
    private String type;             // 其他协议：用户大类号及用户小类号,188协议该字段表示仪表类型

    public int getDevId() {
        return devId;
    }

    public void setDevId(int devId) {
        this.devId = devId;
    }

    public int getPn() {
        return pn;
    }

    public void setPn(int pn) {
        this.pn = pn;
    }

    public int getRate() {
        return rate;
    }

    public void setRate(int rate) {
        this.rate = rate;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public int getProtocol() {
        return protocol;
    }

    public void setProtocol(int protocol) {
        this.protocol = protocol;
    }

    public String getCommAddr() {
        return commAddr;
    }

    public void setCommAddr(String commAddr) {
        this.commAddr = commAddr;
    }

    public String getCommPwd() {
        return commPwd;
    }

    public void setCommPwd(String commPwd) {
        this.commPwd = commPwd;
    }

    public short getTarrifNum() {
        return tarrifNum;
    }

    public void setTarrifNum(short tarrifNum) {
        this.tarrifNum = tarrifNum;
    }

    public short getIntegerNum() {
        return integerNum;
    }

    public void setIntegerNum(short integerNum) {
        this.integerNum = integerNum;
    }

    public short getDecimalNum() {
        return decimalNum;
    }

    public void setDecimalNum(short decimalNum) {
        this.decimalNum = decimalNum;
    }

    public String getRepeaterCommAddr() {
        return repeaterCommAddr;
    }

    public void setRepeaterCommAddr(String repeaterCommAddr) {
        this.repeaterCommAddr = repeaterCommAddr;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
